<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<c:set value="recruit" var="moduleName" scope="request" />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<title>在线申请 - 基本信息</title>
	</head>
	<body>
		<dict:dict type="province,city,district" var="provincecitydistrict" />
		<script type="text/javascript">
var provincecitydistrict = eval('('+'<%=application.getAttribute("provincecitydistrict")%>'+')');
		</script>
		<html:form action="/site/user/apply.do" styleId="mainForm" method="POST">
			<input type="hidden" name="method" class="method" value="save" />
			<input type="hidden" name="direction" id="direction" value="" />
			<html:hidden property="id" />
			<html:hidden property="isSubmitted" />
			<div class="site-title">
				二、 基本信息
			</div>
			<br />
			<div class="div-content">
			<table class="table-layout">
				<tr class="tr-even">
					<td>
						申请公司全称：
						<html:text property="corp" style="width:500px" />
						&nbsp;&nbsp;<span class="required">*</span>
					</td>
				</tr>
				<tr class="tr-odd">
					<td>
						公司法人代表：
						<html:text property="legalPerson" /><span class="required">*</span>
						&nbsp;&nbsp;手机&nbsp;&nbsp;
						<html:text property="legalPersonCellphone" /><span class="required">*</span>
						&nbsp;&nbsp;电子邮箱：&nbsp;&nbsp;
						<html:text property="legalPersonEmail" />
					</td>
				</tr>
				<tr class="tr-even">
					<td>
						董事长：
						<html:text property="owner" /><span class="required">*</span>
						&nbsp;&nbsp;手机&nbsp;&nbsp;
						<html:text property="cellphone" /><span class="required">*</span>
						&nbsp;&nbsp;电子邮箱：&nbsp;&nbsp;
						<html:text property="email" />
						<span class="required">*</span>
					</td>
				</tr>
				<tr class="tr-odd">
					<td>
						公司经济性质：
					</td>
				</tr>
				<tr class="tr-even">
					<td>
						<html:radio property="economicNatureCode" value="1" />
						国营&nbsp;&nbsp;
						<html:radio property="economicNatureCode" value="2" />
						集体&nbsp;&nbsp;
						<html:radio property="economicNatureCode" value="3" />
						私营&nbsp;&nbsp;
						<html:radio property="economicNatureCode" value="4" />
						中外合资&nbsp;&nbsp;
						<html:radio property="economicNatureCode" value="5" />
						其它，请说明&nbsp;&nbsp;<br />
						<html:text property="economicNatureOthers" style="width:500px" />
					</td>
				</tr>
				<tr class="tr-odd">
					<td>
						主营业务：
						<html:text property="mainBusiness" style="width:500px" /><span class="required">*</span>
					</td>
				</tr>
				<tr class="tr-even">
					<td>
						注册地址： 
						<span id="registerContainer_0"> <html:hidden property="registerProvinceId" /> <select id="register_0"></select> </span>省<span class="required">*</span>&nbsp;&nbsp; 
						<span id="registerContainer_1"> <html:hidden property="registerCityId" /> <select id="register_1"></select> </span>市<span class="required">*</span>&nbsp;&nbsp;
						<span id="registerContainer_2"> <html:hidden property="registerDistrictId" /> <select id="register_2"></select> </span>区/县&nbsp;&nbsp;
						<html:text property="registerAddress" style="width:500px" />
					</td>
				</tr>
				<tr class="tr-odd">
					<td>
						注册时间：
						<html:text property="registerMonth" styleClass="Wdate"  onclick="WdatePicker({dateFmt:'yyyy年MM月'})" />
						&nbsp;&nbsp;<span class="required">*</span>
					</td>
				</tr>
				<tr class="tr-even">
					<td>
						注册资本：
						<html:text property="registerCapital" />
						&nbsp;&nbsp;万元<span class="required">*</span>
					</td>
				</tr>
				<tr class="tr-odd">
					<td>
						公司主页：
						<html:text property="website" />
						（可选）
					</td>
				</tr>
				<tr class="tr-even">
					<td>
						联系人/项目负责人：
						<html:text property="contactor" /><span class="required">*</span>
					</td>
				</tr>
				<tr class="tr-odd">
					<td>
						电话：
						<html:text property="contactTel" /><span class="required">*</span>
						&nbsp;&nbsp;手机：
						<html:text property="contactCellphone" /><span class="required">*</span>
					</td>
				</tr>
				<tr class="tr-even">
					<td>
						传真：
						<html:text property="contactFax" />
						&nbsp;&nbsp;电子邮箱：
						<html:text property="contactEmail" /><span class="required">*</span>
					</td>
				</tr>
				<tr class="tr-odd">
					<td>
						通讯地址： 
						<span id="contactContainer_0"> <html:hidden property="contactProvinceId" /> <select id="contact_0"></select> </span>省<span class="required">*</span>&nbsp;&nbsp; 
						<span id="contactContainer_1"> <html:hidden property="contactCityId" /> <select id="contact_1"></select> </span>市<span class="required">*</span>&nbsp;&nbsp;
						<span id="contactContainer_2"> <html:hidden property="contactDistrictId" /> <select id="contact_2"></select> </span>区/县&nbsp;&nbsp;
						<html:text property="contactAddress" style="width:500px" /><span class="required">*</span>
					</td>
				</tr>
				<tr class="tr-even">
					<td>
						邮编：
						<html:text property="postcode" /><span class="required">*</span>
					</td>
				</tr>
			</table>
			<br />
			<div class="center-opertion">
				<html:submit>保存</html:submit>
				<input type="button" value="下一步" onclick="toStep(1)" />
				<html:cancel>取消</html:cancel>
			</div>
			</div>
		</html:form>
		<script type="text/javascript">
showDropDown(provincecitydistrict,["registerProvinceId","registerCityId","registerDistrictId"],"register");
		</script>
		<script type="text/javascript">
showDropDown(provincecitydistrict,["contactProvinceId","contactCityId","contactDistrictId"],"contact");
		</script>
		<script type="text/javascript">
function toStep(num){
	if(num > 0)
		_g("direction").value="next";
	_g("mainForm").submit();
} 		
		</script>
	</body>
</html>
